export default {
    "名称": "宁心道符",
    "备注": "令目标提升18%/30%/54%抵抗封印能力，持续12回合",
    "灵宝算法": function (fight_data, src_unit, target_unit, lb, consummer) {
        let data = 0;
        if (consummer === 1) {
            data = 0.18;
        } else if (consummer === 3) {
            data = 0.3;
        } else if (consummer === 7) {
            data = 0.54;
        }
        src_unit["宁心道符"] = target_unit["抵抗封印等级"] * (lb["境界"] * 0.1 + data);
        G.FightComputingUtils.computing_skill(fight_data, src_unit, target_unit, lb["名称"]);
    },
}